package com.junzhiit.nengji.api.web.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.junzhiit.nengji.api.service.PromotionPosterService;
import com.junzhiit.nengji.api.web.vo.ListVO;

import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("/promotion/poster")
public class PromotionPosterController extends BaseController{

	@Autowired
	private PromotionPosterService promotionPosterService;
	
	@ApiOperation(value = "查询推广海报")
	@RequestMapping(method = RequestMethod.GET)
	public ListVO findAll(String csId,Integer type,int pageNumber, int maxPageRow){
		return promotionPosterService.findList(csId, type, pageNumber, maxPageRow);
	}
	
}
